using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using OpenQuarters.WebQuarters.Utils;
using System.Text;
using OpenQuarters.WebQuarters.Core;

namespace OpenQuarters.WebQuarters.Core.Web.Areas.CMS.Controllers
{
    public class TranslationsController : Controller
    {
        public ActionResult Index()
        {
            List<string> references = GeneralUtils.FromJSON<List<string>>(Request.Form["references"]);
            ViewData.Model = Core.Translation.Get(references).ToJSON();
            return View(Site.Helpers.SharedView.Service);
        }
    }
}
